package com.videoweb.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lmr
 * @since 2025-05-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("video_like")
public class VideoLike implements Serializable {

    private static final long serialVersionUID = 1L;
//
//    @TableId(value = "video_id", type = IdType.AUTO)
//    private Long videoId;
//
//    private Long userId;

    @TableId(value = "video_id")
    private Long videoId;

    @TableField("user_id")
    private Long userId;

    private LocalDateTime createdAt;

}
